//
//  FLSameOneTableViewCell.m
//  FeeLing
//
//  Created by 乔光玉 on 2019/1/4.
//  Copyright © 2019年 大仙儿飘. All rights reserved.
//

#import "FLSameOneTableViewCell.h"

@implementation FLSameOneTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self initsubviews];
    }
    return self;
}
-(void)initsubviews{
    
    self.contentView.backgroundColor = [UIColor colorWithHexString:@"#2B2D5C"];
    
    _bottom =[[UIView alloc]initWithFrame:CGRectMake(15, 0, SCREENWIDTH-30, 70)];
    _bottom.backgroundColor = [UIColor colorWithHexString:@"#24234F"];
    _bottom.clipsToBounds = YES;
    [self.contentView addSubview:_bottom];
    
    _titlelabel = [[UILabel alloc] init];
    _titlelabel.textAlignment = NSTextAlignmentLeft;
    _titlelabel.frame = CGRectMake(15,24,120,22);
    
    _titlelabel.font = [UIFont fontWithName:@"PingFang-SC-Regular" size:16];
    _titlelabel.textColor = [UIColor colorWithHexString:@"#FFFFFF"];
    [_bottom addSubview:_titlelabel];
    
    
    
    _listImageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"展开"]];
    _listImageView.frame = CGRectMake(_bottom.width-33, 30, 30, 30);
    [_bottom addSubview:_listImageView];
    
     _line= [[UIView alloc]initWithFrame:CGRectMake(15, 69, _bottom.width-30, 1)];
    _line.backgroundColor = [UIColor colorWithHexString:@"#353662"];
    [_bottom addSubview:_line];
    
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
